gdkglcontext-x11: Don't assume that cairo-xlib.h is in cairo directory
authorKjell Ahlstedt <kjellahlstedt@gmail.com>
Tue, 16 Mar 2021 08:51:40 +0000 (09:51 +0100)
committerKjell Ahlstedt <kjellahlstedt@gmail.com>
Tue, 16 Mar 2021 10:47:16 +0000 (11:47 +0100)
If cairo is a subproject, it's not necessarily installed when gtk
is built. In the source tree, cairo's headers are not stored in
a directory called 'cairo'.

gdk/x11/gdkglcontext-x11.c

index d83ef6aaadd7142545a4406ee5c151ef694ba8ca..018860bae890b77868f55545e64b7a630e0e0b65 100644 (file)
@@ -37,7 +37,7 @@
 
 #include "gdkintl.h"
 
-#include <cairo/cairo-xlib.h>
+#include <cairo-xlib.h>
 
 #include <epoxy/glx.h>